home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / RCS / utmp.h,v < prev    next >
Encoding:
Text File  |  1990-06-27  |  1.4 KB  |  106 lines

  1. head     1.4;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.4
  10. date     90.06.27.13.30.24;  author shirriff;  state Exp;
  11. branches ;
  12. next     1.3;
  13.  
  14. 1.3
  15. date     89.07.14.09.10.09;  author rab;  state Exp;
  16. branches ;
  17. next     1.2;
  18.  
  19. 1.2
  20. date     88.06.29.14.57.56;  author ouster;  state Exp;
  21. branches ;
  22. next     1.1;
  23.  
  24. 1.1
  25. date     88.06.21.16.42.10;  author ouster;  state Exp;
  26. branches ;
  27. next     ;
  28.  
  29.  
  30. desc
  31. @@
  32.  
  33.  
  34. 1.4
  35. log
  36. @Updated utmp.h to new Unix version.
  37. @
  38. text
  39. @/*
  40.  * Copyright (c) 1980 Regents of the University of California.
  41.  * All rights reserved.  The Berkeley software License Agreement
  42.  * specifies the terms and conditions for redistribution.
  43.  *
  44.  *    @@(#)utmp.h    5.1 (Berkeley) 5/30/85
  45.  */
  46.  
  47. #ifndef _UTMP
  48. #define _UTMP
  49.  
  50. /*
  51.  * Structure of utmp and wtmp files.
  52.  *
  53.  */
  54.  
  55. #define _PATH_UTMP    "/etc/utmp"
  56. #define  UT_NAMESIZE    8
  57. #define  UT_LINESIZE    8
  58. #define  UT_HOSTSIZE    16
  59.  
  60. struct utmp {
  61.     char    ut_line[UT_LINESIZE];    /* tty name */
  62.     char    ut_name[UT_NAMESIZE];    /* user id */
  63.     char    ut_host[UT_HOSTSIZE];    /* host name, if remote */
  64.     long    ut_time;        /* time on */
  65. };
  66.  
  67. #endif /* _UTMP */
  68. @
  69.  
  70.  
  71. 1.3
  72. log
  73. @*** empty log message ***
  74. @
  75. text
  76. @a14 1
  77.  * Assuming the number 8 is unwise.
  78. d16 6
  79. d23 3
  80. a25 3
  81.     char    ut_line[8];        /* tty name */
  82.     char    ut_name[8];        /* user id */
  83.     char    ut_host[16];        /* host name, if remote */
  84. @
  85.  
  86.  
  87. 1.2
  88. log
  89. @Add ifdefs so that file can't be processed twice.
  90. @
  91. text
  92. @d24 1
  93. a24 1
  94. #endif _UTMP
  95. @
  96.  
  97.  
  98. 1.1
  99. log
  100. @Initial revision
  101. @
  102. text
  103. @d9 3
  104. d23 2
  105. @
  106.